package com.geovis.emergency.spd.entity.pc.pojo.vo;

import com.geovis.emergency.spd.entity.pc.entity.PcDrillDisaster;
import com.geovis.emergency.spd.entity.pc.entity.PcSchedulingEvent;
import com.geovis.emergency.spd.entity.system.pojo.vo.SystemDeptTreeVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 应急预案指挥模块-演练灾害事件VO
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/6/10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PcDrillDisasterVO对象", description="应急预案指挥模块-演练灾害事件VO")
public class PcDrillDisasterVO {


    @ApiModelProperty("演练名称")
    private String name;

    @ApiModelProperty("计划开始时间")
    @DateTimeFormat(pattern = "yyyy年MM月dd日 HH:mm")
    private LocalDateTime planStartTime;

    @ApiModelProperty("计划结束时间")
    @DateTimeFormat(pattern = "yyyy年MM月dd日 HH:mm")
    private LocalDateTime planEndTime;

    @ApiModelProperty(value = "灾害列表")
    private List<PcDrillDisaster> disasterList;

    @ApiModelProperty(value = "灾害事件列表")
    private List<PcDrillDisasterEventListVO> disasterEventList;

    @ApiModelProperty("组织架构")
    private List<PcDrillDutyOrgVO> dutyOrgDeptList;

    @ApiModelProperty("组织机构树")
    private List<SystemDeptTreeVO> dutyDutyOrgUserList;

    @ApiModelProperty("部门人员id")
    private List<DeptUserVO> deptUserList;

    @ApiModelProperty("指挥调度事件")
    private PcSchedulingEventVO schedulingEvent;

}
